1) Replication data for: 
Ecker, Alejandro and Martin Gross (2024). 
Equitability or proportionality? Local-level portfolio allocation in Germany.
West European Politics.


2) included files and description:
- Readme.txt							This file
- analysis.do							Stata Do-file to prepare data for analysis and run empirical models
- comb_n_local.mata						Mata function to estimate office and policy payoffs of potential allocations 
- figures.R 							R Script-file to generate figures
- portfolio_allocation.csv					CSV-file with data on portfolio allocation in German municipalities


3) suggested folder structure:
+ your working directory
| analysis.do
| figures.R
| comb_n_local.mata
| Readme.txt
+---data
    | portfolio_allocation.csv
+---tables and figures


4) execution of files:

4.1) run analysis.do which exports the following files into the tables and figures sub-folder
	* Table 1*
	- table_descriptives.rtf

	* Table 4 *
	- table_results.rtf
	- model_1.ster
	- model_2.ster
	- model_3.ster
	
	* Table A2 in the supplementary materials *
	- table_A2.xlsx
	
	* Model Coefficients of Model 3 for Figure 1 *
	- fig1_data.csv
	
	* Predicted probabilities for Figures 2a and 2b *
	- fig2_data.csv
	
4.2) run figures.R to generate and export figures
	* Figure 1 *
	- fig1.tiff
	
	* Figure 2a *
	- fig2a.tiff

	* Figure 2b *
	- fig2b.tiff
